/*
 =============================================================================
 FILE...............: Client.java
 COMMENTS...........: Model of a client.
 =============================================================================
 AUTHOR(S)..........: Everton Ranielly de Sousa Cavalcante
 					  Department of Informatics and Applied Mathematics
 					  Federal University of Rio Grande do Norte
 LAST MODIFICATION..: September 15th, 2012
 ============================================================================= 					  
*/


/* ========================================================================= */
/* PACKAGES			                                                         */
/* ------------------------------------------------------------------------- */
package model;

import javax.xml.bind.annotation.XmlRootElement;


/* ========================================================================= */
/* CLASS Client		                                                         */
/* ------------------------------------------------------------------------- */
/**
 * Model of a client
 * @author Everton Cavalcante
 */
@XmlRootElement
public class Client 
{
	private String title;				// Client title
    private String name;				// Client name
    private String phone;				// Client phone
    private String email;				// Client email
    private String creditCardNumber;	// Client credit card number
    private String fidelityNumber;		// Client fidelity number
    
    
    /** Default constructor */
    public Client()
    { /* Empty */ }
    

    /**
	 * Constructor
	 * @param title Client title
	 * @param name Client name
	 * @param phone Client phone
	 * @param email Client email
	 * @param creditCardNumber Client credit card number
	 * @param fidelityNumber Client fidelity number
	 */
	public Client(String title, String name, String phone, String email, 
		String creditCardNumber, String fidelityNumber) 
	{
		this.title = title;
		this.name = name;
		this.phone = phone;
		this.email = email;
		this.creditCardNumber = creditCardNumber;
		this.fidelityNumber = fidelityNumber;
	}


	/**
	 * Return the client title
	 * @return title Client title
	 */
	public String getTitle() 
	{ return title; }
	
	
	/**
	 * Modifies the client title
	 * @param title Client title to set
	 */
	public void setTitle(String title) 
	{ this.title = title; }
	
	
	/**
	 * Returns the client name
	 * @return Client name
	 */
	public String getName() 
	{ return name; }
	
	
	/**
	 * Modifies the client name
	 * @param name Name to set
	 */
	public void setName(String name) 
	{ this.name = name; }
	
	
	/**
	 * Returns the client phone
	 * @return Client phone
	 */
	public String getPhone() 
	{ return phone; }
	
	
	/**
	 * Modifies the client phone
	 * @param phone Phone to set
	 */
	public void setPhone(String phone) 
	{ this.phone = phone; }
	
	
	/**
	 * Returns the client email
	 * @return email Client email
	 */
	public String getEmail() 
	{ return email; }
	
	
	/**
	 * Modifies the client email
	 * @param email Email to set
	 */
	public void setEmail(String email) 
	{ this.email = email; }
	
	
	/**
	 * Returns the client credit card number
	 * @return creditCardNumber Client credit card number
	 */
	public String getCreditCardNumber() 
	{ return creditCardNumber; }
	
	
	/**
	 * Modifies the client credit card number
	 * @param creditCardNumber Credit card number to set
	 */
	public void setCreditCardNumber(String creditCardNumber) 
	{ this.creditCardNumber = creditCardNumber; }
	
	
	/**
	 * Returns the client fidelity number
	 * @return fidelityNumber Client fidelity number
	 */
	public String getFidelityNumber() 
	{ return fidelityNumber; }
	
	
	/**
	 * Modifies the client fidelity number
	 * @param fidelityNumber Fidelity number to set
	 */
	public void setFidelityNumber(String fidelityNumber) 
	{ this.fidelityNumber = fidelityNumber; }
}
